package com.ymatou.userregister.service;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;

public class SendActiveCodeToEmailCall extends YmatouBaseCall {
	private static String opurl = "userapi/activatecode/sendtoemail";

	public SendActiveCodeToEmailCall() {
		super(EnvSetup.getSystemUrl("api_userregister"), opurl, "POST", "JSON");
	}

	@Override
	public void addDefHeader() {
		client.addHeader("Accept", "text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}

}
